// 电子签章校验配置接口
import request from '@/utils/request'
import { commonBaseUrl } from '@/utils'

const moduleName = commonBaseUrl('A')
// 查询列表接口
export function getListApi(data) {
    return request({
        url: moduleName + 'api/attachment/signatures/check/query',
        method: 'post',
        showLoading: true,
        data
    })
}

// 新增
export function addApi(data) {
    return request({
        url: moduleName + 'api/attachment/signatures/check/add',
        method: 'post',
        showLoading: true,
        data
    })
}

// 修改
export function updateApi(data) {
    return request({
        url: moduleName + 'api/attachment/signatures/check/update',
        method: 'post',
        showLoading: true,
        data
    })
}

// 单个/批量删除
export function delApi(params) {
    return request({
        url: moduleName + 'api/attachment/signatures/check/del',
        showLoading: true,
        params
    })
}

// 查询组织机构
export function queryOrgApi(params) {
    return request({
        url: moduleName + 'api/attachment/signatures/config/queryOrg',
        params
    })
}
